﻿$def with()
<!doctype html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
	<title>Chat</title>
	<link rel = "stylesheet" type = "text/css" href = "$:config.static/css/chat.css"/>
	<script type="text/javascript" src="$:config.static/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="$:config.static/js/common.js"></script>
	<script type="text/javascript" src="$:config.static/js/chat.js"></script>
</head>
<body onLoad="Init()" onUnload="Logout()">
	<div><embed id="Demo" src="$:config.static/socket.swf"></div>
	<div class="main" id="main_id">
		<div class="msg_area" id="msg_area_id">
			<div id="head">
			Welcome to ailiao-room!
			</div>
			<div id="screen">
			</div>
		</div>

		<div class="name_area">
			<script type="text/javascript">
				document.write("&nbsp;<b>[在线列表]</b><br><br>");
			</script>
			<div id="namelist">
			</div>
		</div>

		<div class="fun_area" id="fun_area_id">
			/*this is private screen*/
		</div>
		<div class="func">
			<br><label>Object:</label>
			<select id="friendlist" size="1" align="left" >
				<option>All</option>
			</select>
		</div>

		<!--<div class="send_area">
						<label><b>Object:</b></label>&nbsp;
						<select id="friendlist" size="1" align="left" >
							<option>All</option>
						</select>
						<br><br>
						<form method="post" name="myForm">
						<label><b>Message:</b></label>
						<input type="text" size="100" name="msg" align="left" onFocus="this.value=''" onKeyDown="if(event.keyCode==13)sendmsg();" >

			<div class="send_btn_area">
				<input name="image" type="button" src="$:config.static/images/btn.gif"  value="发送" id="btn" onMouseOver="this.style.borderColor='#F8B3D0'" onMouseOut="this.style.borderColor='#7EBF4F'" onClick="sendmsg();"/>
			</div>

						<input type="text" size="0" style="visibility:hidden;" >
						</form>
		</div>-->

		<div class="send_area">
			<form action="" method="post" name="myForm">
			<div class="send_box_area">
				<textarea name="msg" id="textarea_id" style="border:0" rows="2" onFocus="this.value=''" onKeyDown="return sendtextareamsg();"></textarea>

			</div>

			<div class="send_btn_area">
				<input name="image" type="button" value="发送" id="btn" onMouseOver="this.style.borderColor='#F8B3D0'" onMouseOut="this.style.borderColor='#7EBF4F'" onClick="testflash();"/>
			</div>
			</form>
		</div>

	</div>
</body>
